package notesDetection.Utilities;

import java.util.List;

public class SegmentNotesInfo {

	private List<NoteInfo> _notesData;
	private int _segmentId;
	private int _segmentStart;
	private int _segmentStop;
	
	public SegmentNotesInfo(int segmentStart, int segmentStop, int segmentId, List<NoteInfo> notesData)
	{
		_notesData = notesData;
		_segmentId = segmentId;
		_segmentStart = segmentStart;
		_segmentStop = segmentStop;
	}
	
	public List<NoteInfo> getNotesData()
	{
		return _notesData;
	}
	
	public int getSegmentId()
	{
		return _segmentId;
	}
	
	public int getSegmentStart()
	{
		return _segmentStart;
	}
	
	public int getSegmentStop()
	{
		return _segmentStop;
	}
	
	public int getSegmentLength()
	{
		
		return _segmentStop - _segmentStart + 1;
	}
}
